package org.oyrm.kobo.formBuilder.ui;

import java.awt.GridLayout;

import javax.swing.JPanel;

import org.oyrm.kobo.postproc.ui.KoboPostProcPanel;

public class CenterPanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7264399490317152837L;

	
	/**
	 * Renders the post processor
	 */
	public void showPostProcessor()
	{
		removeAll();
		GridLayout gridLayout = new GridLayout(1,1);
		gridLayout.setVgap(0);
		this.setLayout(gridLayout);
		KoboPostProcPanel ppPanel = KoboPostProcPanel.getInstance();
		ppPanel.setAlignmentY(TOP_ALIGNMENT);
		add(ppPanel);
		validate();
	}
}
